package com.starwish.starwishblog.vo;

import com.starwish.starwishblog.entity.Article;
import com.starwish.starwishblog.entity.User;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class CommentVo {
    private Integer id;

    private UserVo user;

    private Integer userId;

    private Integer articleId;

    private ArticleVo article;

    private Integer parentId;

    private String content;

    private List<CommentVo> children;

    private Date createTime;

    private Integer level;

    private Date modifyTime;

    private UserVo toUser;

    private Integer toUserId;

    private Integer isDelete;

}
